.max-line(@lines) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: @lines;
    -webkit-line-clamp: @lines;
    text-overflow: ellipsis;
    overflow: hidden;
}

.wraper {
    box-sizing: border-box;
}

.list {
    display: flex;
    flex-direction: column;
}

.item {
    background: #FFF;
    cursor: pointer;
    text-decoration: none;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

// 问题只显示一行
.title {
    flex: 1;
    width: 0;
    color: var(--render-text-color-main);

    @apply truncate;
}

// 回答显示4行，其余省略
.content {
    color: var(--render-text-color-second);
    .max-line(4);
}

.btn {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    border: 1px solid #FFF;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
}

.wraper.mobile {
    .main {
        padding: 20px 16px 40px;
    }

    .list {
        gap: 10px;
    }

    .item {
        padding: 30px 12px 32px;
        border-radius: 4px;
    }

    // 问题只显示一行
    .title {
        font-size: 18px;
        font-weight: 500;
        line-height: 18px;
    }

    // 回答显示4行，其余省略
    .content {
        margin-top: 12px;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
    }

    .btn {
        margin-top: 32px;
        height: 32px;
        border-radius: 4px;
        padding-left: 40px;
        padding-right: 40px;
        font-size: 12px;
        font-weight: 400;
    }
}

.wraper.pc {
    .main {
        padding: 60px 0 80px;
    }

    .list {
        gap: 20px;
        width: 1180px;
        margin: 0 auto;
    }

    .item {
        padding: 48px 32px 44px;
        border-radius: 4px;

        &:hover {
            box-shadow: 0 0 32px 0 #0000001f;

            .title {
                color: var(--design-theme-color);
            }
        }
    }

    // 问题只显示一行
    .title {
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
    }

    
    .icon {
        flex: none;
        font-size: 24px;
        color: var(--design-theme-color);
    }

    // 回答显示4行，其余省略
    .content {
        margin-top: 12px;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }

    .btn {
        margin-top: 60px;
        height: 48px;
        border-radius: 4px;
        padding-left: 58px;
        padding-right: 58px;
        font-size: 16px;
        font-weight: 400;
    }
}
